<?php 

// 用户 控制器
class UserController extends Controller
{
    public function index()
    {
        $data = DB::table('imgs')->order('id desc')->select();
        $this->assign('title', '用户列表页');
        $this->assign('list', $data);
        $this->display('User/index.html');
    }

    public function add()
    {
        echo 'User Add';
    }
}



